package dfbz.hpmework5;

public class test {
    public static void main(String[] args) {
        cock c=new cock(2,"红色");
        duck d=new duck(1,"黑色");
        c.eat();
        c.daming();
        d.eat();
        d.youyong();
    }
}
